-- GENERATED SPELL FOR [Power Spark] --


function spell0_30084(pUnit, Event) --@Power Spark,n/a--
pUnit:FullCastSpellOnTarget(56152,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30084', 10339, 1)
end

function Sorts_30084(pUnit, Event)
local choix_sorts_30084 = math.random(0, 0)
if choix_sorts_30084 == 0 then
pUnit:RegisterEvent('spell0_30084', 1, 1)
end
end

function mob30084_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30084', math.random(1500, 3000), 1)
end

function mob30084_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30084_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30084_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30084, 1, 'mob30084_Action')
RegisterUnitEvent(30084, 2, 'mob30084_Leave')
RegisterUnitEvent(30084, 3, 'mob30084_Kill')
RegisterUnitEvent(30084, 4, 'mob30084_Die')
